﻿//
// XN4SL - Xna Framework for Silverlight.
//
namespace Xn4Sl.Framework.Graphics
{
    /// <summary>
    /// Defines options for saving the graphics device state before and after an
    /// effect technique is applied.
    /// </summary>
    public enum SaveStateMode
    {
        /// <summary>
        /// No device state is saved when calling Effect.Begin or restored when calling
        /// Effect.End.
        /// </summary>
        None = 0,
        /// <summary>
        /// Save all device state when calling Effect.Begin and restore device state
        /// when calling Effect.End.
        /// </summary>
        SaveState = 1,
    }
}
